import request from '../utils/request';
import qs from 'qs';
//模板模拟
export const fetchData = query => {
    return request({
        url: './table.json',
        method: 'get',
        params: query
    });
};
export const login = query => {
    return request({
        url: '/vehicle/user/login',
        method: 'post',
        // data:qs.stringify(query)
        data:query
    });
};